package com.ruoyi.business.error.model;

import lombok.Data;

/**
 * 系统错误码
 */
@Data
public class ErrorCode {
    //错误码
    private String code;

    //错误信息
    private String message;

    ErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
